cmake_minimum_required(VERSION 3.10)
project(StaticLibDemo C)

add_library(math_utils STATIC src/math_utils.c)

target_include_directories(math_utils PUBLIC include)

add_executable(main_app src/main.c)
target_link_libraries(main_app PRIVATE math_utils)